import service from "../request"

export function teacherlsit(){
    return service({
        url:'/teacher/course/list',
        method:'get'
    })
}
export function teachertimetable(){
    return service({
        url:'/teacher/timetable',
        method:'get'
    })
}

export function teachergradepage(params,page=1){
    return service({
        url:'/teacher/grade/page/'+page,
        method:'get',
        params
    })
}

export function teachergradepagecount(params){
    return service({
        url:'/teacher/grade/page/count',
        method:'get',
        params
    })
}
// 打分
export function teacherscore(data){
    return service({
        url:'/teacher/grade',
        method:'put',
        data
    })
}
// 获取信息
export function teacherscoredetal(id){
    return service({
        url:'/teacher/grade/'+id,
        method:'get',
    })
}